package com.cqq.auth.dao.impl;

import java.io.Serializable;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.cqq.auth.dao.OperateLogDao;
import com.cqq.auth.dao.domain.OperateLog;
import com.cqq.auth.dao.mapper.OperateLogMapper;
import com.cqq.common.core.base.BaseDao;
import com.cqq.common.core.base.BaseQuery;

/**
 * <h3>操作日志Dao接口实现类</h3>
 * 
 * @author xijq
 * @version 1.0.0
 * 
 */
@Repository("operateLogDao")
public class OperateLogDaoImpl extends BaseDao implements OperateLogDao {
	
	@Autowired
	private OperateLogMapper operateLogMapper;

	
	public void add(OperateLog obj) {
		operateLogMapper.add(obj);
	}

	
	public Integer delete(Serializable id) {
		return operateLogMapper.delete(id);
	}

	
	public Integer update(OperateLog obj) {
		return operateLogMapper.update(obj);
	}

	
	public OperateLog queryById(Serializable id) {
		return operateLogMapper.queryById(id);
	}

	
	public List<OperateLog> queryAll() {
		return null;
	}

	
	public List<OperateLog> queryPage(BaseQuery query) {
		return operateLogMapper.queryPage(query);
	}

	
	public Integer queryCount(BaseQuery query) {
		return operateLogMapper.queryCount(query);
	}

}
